/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;

/**
 *
 * @author jfernan
 */
public class DateService {
private DateDAO dateDAO;

public DateDAO getDateDAO() {
	return dateDAO;
}

public void setDateDAO(DateDAO dateDAO) {
	this.dateDAO = dateDAO;
}

public Person getMatch(Person toMatch) {
	if(toMatch.getPaidUp()) {
           return dateDAO.findByCharacter(toMatch.getCharacter());
	}
	return new Person("Loving", "Your", "Mom", false);
}

}
